const layout = resolve => require(['common/src/views/layout'], resolve);
const examArrangInfoQuery = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/examArrangInfoQuery'
    ], resolve);
const examArrangSettings = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/examArrangSettings'
    ], resolve);
/* const examSchedAuthSwitch = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/examSchedAuthSwitch'
    ], resolve); */
const examSchedAuthSwitch = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/examAuthSwitch'
    ], resolve);
const examStuManagement = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/examStuManagement'
    ], resolve);
const invigilatorsManagement = resolve =>
    require([
        'common/src/views/graExamArrange/examArrManagment/invigilatorsManagement'
    ], resolve);
const examLog = resolve =>
    require(['common/src/views/graExamArrange/examArrManagment/examLog'], resolve);
const applyPostExamPermission = resolve =>
    require([
        'common/src/views/graExamArrange/suppleAndPostponExam/applyPostExamPermission'
    ], resolve);
const postponeExamCollegeAudit = resolve =>
    require([
        'common/src/views/graExamArrange/suppleAndPostponExam/postponeExamCollegeAudit'
    ], resolve);
const postponeExamSchoolAudit = resolve =>
    require([
        'common/src/views/graExamArrange/suppleAndPostponExam/postponeExamSchoolAudit'
    ], resolve);
const postponedExamStuQuery = resolve =>
    require([
        'common/src/views/graExamArrange/suppleAndPostponExam/postponedExamStuQuery'
    ], resolve);
const myExamArrange = resolve =>
    require(['common/src/views/graExamArrange/myExamArrange'], resolve);

const graExamArrange = {
    path: '/graExamArrange',
    name: 'graExamArrange',
    component: layout,
    children: [
        {
            path: '/examArrangSettings',
            name: 'examArrangSettings',
            component: examArrangSettings
        },
        {
            path: '/examSchedAuthSwitch',
            name: 'examSchedAuthSwitch',
            component: examSchedAuthSwitch
        },
        {
            path: '/examStuManagement',
            name: 'examStuManagement',
            component: examStuManagement
        },
        {
            path: '/invigilatorsManagement',
            name: 'invigilatorsManagement',
            component: invigilatorsManagement
        },
        {
            path: '/examLog',
            name: 'examLog',
            component: examLog
        },
        {
            path: '/examArrangInfoQuery',
            name: 'examArrangInfoQuery',
            component: examArrangInfoQuery
        },
        {
            path: '/applyPostExamPermission',
            name: 'applyPostExamPermission',
            component: applyPostExamPermission
        },
        {
            path: '/postponeExamCollegeAudit',
            name: 'postponeExamCollegeAudit',
            component: postponeExamCollegeAudit
        },
        {
            path: '/postponeExamSchoolAudit',
            name: 'postponeExamSchoolAudit',
            component: postponeExamSchoolAudit,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/postponedExamStuQuery',
            name: 'postponedExamStuQuery',
            component: postponedExamStuQuery
        },
        {
            path: '/myExamArrange',
            name: 'myExamArrange',
            component: myExamArrange
        }
    ]
};

export default graExamArrange;
